| Fully Qualified Name: | CodeIgniter\Commands\Utilities\Routes |
| Extends: | BaseCommand |
Lists all of the user-defined routes. This will include any Routes files that can be discovered, but will NOT include any routes that are not defined in a routes file, but are instead discovered through auto-routing.
| Name | Description | Defined By |
|---|---|---|
| __construct() | BaseCommand constructor. | BaseCommand |
| __get() | Makes it simple to access our protected properties. | BaseCommand |
| __isset() | Makes it simple to check our protected properties. | BaseCommand |
| getPad() | Get pad for $key => $value array output | BaseCommand |
| run() | Displays the help for the spark cli script itself. | Routes |
| showHelp() | show Help include (usage,arguments,description,options) | BaseCommand |
BaseCommand constructor.
| Parameter Name | Type | Description |
|---|---|---|
| $logger | \Psr\Log\LoggerInterface | |
| $commands | \CodeIgniter\CLI\CommandRunner |
Returns:
Makes it simple to access our protected properties.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: mixed
Makes it simple to check our protected properties.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: bool
Get pad for $key => $value array output
| Parameter Name | Type | Description |
|---|---|---|
| $array | array | |
| $pad | int |
Returns: int
Displays the help for the spark cli script itself.
| Parameter Name | Type | Description |
|---|---|---|
| $params | array |
Returns:
show Help include (usage,arguments,description,options)
Returns: